<template>
    <div class="machine-wrapper">
        <div class="machine-inner">
            <div class="radio-name">
                <slot name="machineName">卷帘机</slot>
            </div>
            <div class="radio-item">
                <slot name="machineOption">
                    <el-radio v-model="radio" label="1" size="mini">开启</el-radio>
                    <el-radio v-model="radio" label="2" size="mini">关闭</el-radio>
                </slot>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "machineSlot",
        data(){
            return{
                radio: '2'
            }
        }
    }
</script>

<style scoped lang="scss">
    .machine-wrapper{
        .machine-inner{
            margin-top: 0.1rem;
            display: flex;
            .radio-name{
                margin-left: 0.1rem;
                color: #33cea0;
                font-size: 0.2rem;
            }
            .radio-item{
                margin-left: 0.25rem;
            }
        }
    }
</style>
